/**
 * 
 */
package com.planner.core.action.node.util;

import com.planner.core.action.node.form.NodeDetailForm;
import com.planner.core.vo.GraphNode;

/**
 * @author Sangharsh
 *
 */
public class NodeDetailFormUtil {
	public static final Long NOT_YET_CREATED_ID = new Long(-1);
	
	public static final GraphNode getNodeVOFromForm(NodeDetailForm form){
		return new GraphNode(form.getId(), form.getCode(), form.getName(), form.getDescription());
	}
}
